#include <iostream>
#include <string>
#include <functional>

void Print(std::string str, int num)
{
    std::cout << str << "--" <<num <<std::endl;
}

int main()
{
    std::function<void(int)> func = std::bind(&Print,"nihao",std::placeholders::_1);
    //auto func = std::bind(Print,"nihao",std::placeholders::_1);
    
    func(10);
    return 0;
}
